/////本页面没用
import request from '../utils/request'
const CONTROLLER_NAME = '/home'
export function getBanners(cityCode) {
  return request({
    url: CONTROLLER_NAME + '/getBannerList',
    params: { cityCode },
    method: 'get'
  })
}



export function getRecommendServer(cityCode) {
  return request({
    url: CONTROLLER_NAME + '/getServerRecommendList',
    params: { cityCode },
    method: 'get'
  })
}

export function getVillageServiceTime() {
  return request({
    url: CONTROLLER_NAME + '/getVillageServiceTime',
    method: 'get'
  })
}


export function getTree(params) {
  return request({
    url: CONTROLLER_NAME + '/getServerTree',
    params,
    method: 'get'
  })
}

/**
 * 任务执行人列表
 * @param {*} body 
 */
export function getTbPersonalsByCompanyCode(params) {
  return request({
    url: '/tlTask/getTbPersonalsByCompanyCode',
    params: params,
    method: 'post'
  })
}